package com.jack.online.study.service.vod;

import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface MediaService {
    String uploadVideo(MultipartFile file, String originalFilename);

    void removeVideo(String videoId);

    void removeVideoByIdList(List<String> videoIdList);

    String getPlayAuth(String videoSourceId);

    ResponseEntity<Object> playVideo(Long videoId);
}
